package com.fk.reggie.service;

import com.fk.reggie.domain.Dish;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fk.reggie.dto.DishDto;

import java.util.List;

/**
 * @author 凡凯
 * @description 针对表【dish(菜品管理)】的数据库操作Service
 * @createDate 2023-03-16 10:26:50
 */
public interface DishService extends IService<Dish> {
    void saveWithFlavor(DishDto dishDto);

    DishDto getDishWithFavor(Long id);

    void updateDishWithFavor(DishDto dishDto);

    void updateStatusByBatch(Integer status,List<Long> ids);

    void deleteDish(List<Long> ids);
}
